<template>
    
    <Child ref="childRef" />
    <div class="body">
      <ul>
        <li v-for="item in childRef?.list">{{item}}</li>
      </ul>
    </div>
  </template>
  
  <script setup>
 import Child from './child.vue'
import { ref } from 'vue'

 const childRef = ref(null)


  </script>
  
  <style lang="css" scoped>
  
  </style>